package com.yilin.tms.capital.service;

import com.yilin.tms.core.entity.capital.TradeFlow;
import com.yilin.tms.core.entity.capital.TradeRecord;

import java.util.List;

public interface ITradeFlowService {
    void saveOrUpdateBatchTradeFlow(List<TradeFlow> tradeFlowList);

    //    通交易单生成交易流水
    void  tradeRecordBySaveTradeFlow(TradeRecord tradeRecord);

    TradeFlow getTradeFlowByTradeNoType(String tradeNo, TradeFlow.PaymentType paymentType);
}
